package com.it.pojo;

import java.io.Serializable;

public class Book implements Serializable {
    private Integer id;
    private String bookName;
    private String writer;
    private Double price;
    private String bookPicture;

    public Book() {
    }

    public Book(Integer id, String bookName, String writer, Double price, String bookPicture) {
        this.id = id;
        this.bookName = bookName;
        this.writer = writer;
        this.price = price;
        this.bookPicture = bookPicture;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getBookPicture() {
        return bookPicture;
    }

    public void setBookPicture(String bookPicture) {
        this.bookPicture = bookPicture;
    }
}
